package com.bwie.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 店铺
 */
@Data
public class Shop {
    /**
     * 店铺编号
     */
    private Integer shopId;
    /**
     * 店铺名称
     */
    private String shopName;
    /**
     * 店铺负责人
     */
    private String storeManager;
    /**
     * 店铺录入时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date shopEntryTime;
    /**
     * 店铺合同开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date storeContractStartTime;
    /**
     * 店铺合同终止时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date storeContractTerminationTime;
    /**
     * 店铺简介
     */
    private String shopProfile;
    /**
     * 店铺状态1.续约待审核2.续约3.正常
     */
    private Integer shopFlag;
    /**
     * 合同外键
     */
    private Integer shopContractId;
    /**
     * 店铺合同数量
     */
    private Integer shopContractQuantity;
    /**
     * 用户外键
     */
    private Integer shopAdminId;
    /**
     * 店铺附件
     */
    private String shopAttachments;
}
